package base.service.bo.base.user.impl;

import base.service.bo.base.user.IBoBase_Ac_User;
import base.service.dao.BaseDao;
import base.service.dao.IDao;
import base.service.dao.base.user.IDaoBase_Ac_User;
import base.service.domain.exception.DaoException;
import base.service.domain.exception.ServiceLocatorException;
import common.Logger;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 12-7-9
 * Time: 下午3:15
 * To change this template use File | Settings | File Templates.
 */
public class BoBase_Ac_UserImpl implements IBoBase_Ac_User{

    private Logger log = Logger.getLogger(this.getClass());
	private IDaoBase_Ac_User daoBase_ac_user;

	public BoBase_Ac_UserImpl(IDao idao) {
		this.daoBase_ac_user = (IDaoBase_Ac_User) idao;
	}

    public List getListBase_Ac_User(Map paramMap) throws DaoException {
        List list = new ArrayList();
		try {
			list = daoBase_ac_user.getBase_Ac_User(paramMap);
		} catch (DaoException e) {
			log.error(e.getMessage());
            throw new ServiceLocatorException(e.getMessage(), e);
		}
		return list;
    }
}
